@echo off

rem APP TEMPLATE!

rem set qmakebin=D:\_Denjs`s_PROJECTS\QT4\Qt_4.3.0\bin\qmake.exe
rem set makebin=D:\_Denjs`s_PROJECTS\QT4\Qt_4.3.0\bin\make.bat

set qmakebin=qmake
set makebin=make

set probe_name="libotpd_app_qt"
%qmakebin% -project -t app -o %probe_name%.pro

echo CONFIG += release		    >> %probe_name%.pro
echo CONFIG += console 	        >> %probe_name%.pro 
echo MOC_DIR +=   build		    >> %probe_name%.pro
echo OBJECTS_DIR += build		>> %probe_name%.pro
echo DESTDIR +=   .\..\..\bin\win	>> %probe_name%.pro
echo TARGET =   %probe_name%	>> %probe_name%.pro
rem echo QT += xml			>> %probe_name%.pro
@echo on

%qmakebin%
%makebin%

@echo off
rem cd .\bin\
rem %probe_name%
rem cd ..
@echo on